<html>
<head>
    <meta  charset="utf-8">
    <title><%=title%></title>
</head>

<%include easyui.ejs %>

<style>
    .STYLE2 {
        font-size: 30px;
        font-weight: bold;
    }
</style>


<body class="easyui-layout">

<%include north.ejs%>

<div data-options="region:'west',split:true,title:'导航'" style="width:200px;padding:10px;">
    <%include menu.ejs%>
</div>

<div data-options="region:'center',title:'登录日志'">
    <h1>用户登录日志</h1>
    <td width="86%" valign="top"><form name="form1" method="post" action="/userlog">
            <strong>
                <div id="txt" align="right"></div>
            </strong>
            <p>
                <label style="font-size: 20px">请输入用户名
                    <input type="text" name="uname" >
                </label>
                <label>
                    <input type="submit" name="Submit" value="查询">
                </label>
            </p>
        </form>

        <table width="430" border="1">
            <tr>
                <td width="140" height="33" align="center">用户名</td>
                <td width="280" align="center">登录日期</td>
            </tr>

                <% var info %>
                <% if(info) { %>
                <% info.forEach(function(infos, index) { %>
            <tr>
                <td align="center"><%=infos.user %></td>
                <td align="center"><%=infos.time %></td>
                <% }) %>
                <% } %>
            </tr>
            </table>

</div>


</body>
</html>